package com.cskaoyan.mall.service;

import com.cskaoyan.mall.model.bo.replyBO;
import com.cskaoyan.mall.model.sql.Goods;
import com.cskaoyan.mall.model.sql.Type;
import com.cskaoyan.mall.model.bo.GoodsBO;
import com.cskaoyan.mall.model.vo.GoodsInfoVO;
import com.cskaoyan.mall.model.vo.TypeGoodsVO;
import com.cskaoyan.mall.model.vo.noReplyMsgVO;

import java.util.List;

public interface GoodsService {

    List<Type> getType();

    List<TypeGoodsVO> getGoodsType(String typeId);

    void addGoods(GoodsBO goodsBO);

    GoodsInfoVO getGoodsInfo(String id);

    void deleteGoods(String id);

    void addType(Type type);

    void deleteType(String id);

    List<noReplyMsgVO> noReplyMsg();

    List<noReplyMsgVO> ReplyMsg();

    void reply(replyBO replybo);

    List<Goods> searchGoods(String keyword);
}
